package com.googlecode.i78ba.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class StringUtil {
	private static Logger log = LoggerFactory.getLogger(StringUtil.class);

	public static boolean isNotEmpty(Object object) {
		return object != null && !"".equals(object.toString().trim());
	}

	public static boolean isEmpty(Object object) {
		return object == null || "".equals(object.toString().trim());
	}
}
